/*
 * Copyright (c) 2006, 2021, webrx.cn All rights reserved.
 *
 */
package cn.webrx.exam;

import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 * <p>Project: javase - Ex2
 * <p>Powered by webrx On 2021-12-10 09:19:31
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class Ex2 extends JFrame implements ActionListener {
    public Ex2(String title) {
        super(title);
        setSize(450, 400);
        setVisible(true);


    }

    public static void main(String[] args) {
        var m = new Ex2("我的软件");

    }

    @Override
    public void actionPerformed(ActionEvent e) {
        System.out.println("ok");
    }
}
